Programming with QuickTime VR

| Previous | Chapter contents | Chapter top | Section top | Next |

QTVRGetPanAngle

You can use the QTVRGetPanAngle function to get the pan angle of a QuickTime VR movie.

float QTVRGetPanAngle (QTVRInstance qtvr);
qtvr
An instance of a QuickTime VR movie.
function result
A floating-point value that represents the current pan angle of the specified movie.

DESCRIPTION

The QTVRGetPanAngle function returns, as its function result, a floating-point value that represents the current pan angle of the QuickTime VR movie specified by the qtvr parameter.

SEE ALSO

Use QTVRSetPanAngle (next) to set the pan angle of a movie. Listing 2-4 illustrates the use of QTVRGetPanAngle .


© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |